/*
package javax;

import java.util.Random;

public class xp_111 {
    public static void main(String[] args) {
        Student();
    }

    public static void Student() {
        class Student {
            private String num;
            private String name;

            public Student(String name, String num) {

                this.name = name;
                this.num = num;


            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
        Random r = new Random();
        Student[] stu = new Student[35];
        for (int i = 0; i < 35; i++) {
            stu[i] = new Student;
            stu[i].setName("学生" + (i+1) );
            stu[i].setNum("stx_"+r.nextInt(9999));
            System.out.println(stu[i].getNum() + stu[i].getName());
        }
    }
}



*/
